﻿using System.Windows;
using xpds_ProductMonitor.BLL;

namespace xpds_ProductMonitor
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        //protected override void OnStartup(StartupEventArgs e)
        //{
        //    base.OnStartup(e);

        //    GlobalMonitor.Start((() =>
        //    {
        //        Application.Current?.Dispatcher.Invoke(() =>
        //        {
        //            new MainWindow();
        //        });
        //    }),(s =>
        //    {
        //        Application.Current?.Dispatcher.Invoke(() =>
        //        {
        //            MessageBox.Show(s);
        //            Application.Current?.Shutdown();
        //        });
        //    }));
        //}
    }

}
